package com.rivulet.doj_backend.judger.judge1_0;

import com.rivulet.doj_backend.pojo.JudgeCode;
import java.util.ArrayList;
import java.util.List;

/**
 * {一句话形容此class功能}
 *
 * @author xujiac
 * @create 2021/4/25
 * @since 1.0.0
 */
public class ProessForJudge {
    public static void main(String[] args) {
        List<JudgeCode> list=new ArrayList();
        list.add(new JudgeCode("1 2"));
        list.add(new JudgeCode("11 22"));
        list.add(new JudgeCode("111 222"));
        list.add(new JudgeCode("1111 2222"));
        list.add(new JudgeCode("11111 22222"));
        String cpp="#include<stdio.h>\n" +
                "int main(){\n" +
                "\tint a,b;\n" +
                "\tscanf(\"%d%d\",&a,&b); \n" +
                "\tprintf(\"%d\",a+b);\n" +
                "\treturn 1;\n" +
                "} \n";
        String java="import java.util.Scanner;\n" +
                "public class Main {\n" +
                "    public static void main(String[] args) {\n" +
                "        Scanner key=new Scanner(System.in);\n" +
                "        String str1=key.next();\n" +
                "        String str2=key.next();\n" +
                "        System.out.println(\"结果：\"+str1+str2);\n" +
                "        key.close();\n" +
                "    }\n" +
                "}\n";
        String py="a,b=map(int,input().split())\n" +
                "c=a+b\n" +
                "print(c)";
        new JudgeNumOne().judge(784,java,"java",list);
        System.out.println(list);
    }
}
